/**
 *
 */
package com.mmlc.network.filter;

import com.androidnetframe.BaseParentActivity;
import com.androidnetframe.httputil.BaseRequestFilterLayer;
import com.androidnetframe.httputil.EntryPageName;
import com.mmlc.network.requestbean.N4NoParamsRequestBean;
import com.mmlc.utils.ViewUtils;

/**
 * @author 何强
 *         2015-12-18
 * @修改 张园汀 2015-12-30
 */
public class N4NoParamsRequestFilter extends BaseRequestFilterLayer {
    public N4NoParamsRequestBean requestBean = new N4NoParamsRequestBean();

    public N4NoParamsRequestFilter(BaseParentActivity context) {
        this(context, null);
    }

    public N4NoParamsRequestFilter(BaseParentActivity context, String method) {
        super(context);
        if (!ViewUtils.isEmpty(method))
            requestBean.method = method;
        makeRequestParams.entryPageName = EntryPageName.n4_a + "";
        makeRequestParams.setReqeustBean(requestBean, true);
    }
}
